# Contributor: ScrumpyJack <scrumpyjack@me.com>
# Maintainer: ScrumpyJack <scrumpyjack@me.com>
pkgname=xeyes
pkgver=1.3.0
pkgrel=0
pkgdesc="Pair of eyes that follow your mouse in X11"
url="https://www.x.org"
options="!check" # no test suite
arch="all"
license="MIT"
makedepends="
	libx11-dev
	libxext-dev
	libxi-dev
	libxmu-dev
	libxrender-dev
	libxt-dev
	"
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/app/xeyes-$pkgver.tar.xz"

build() {
	CFLAGS="$CFLAGS -flto=auto" \
	./configure \
		--host=$CHOST \
		--build=$CBUILD \
		--prefix=/usr \
		--datarootdir=/usr/share
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
6108a476cd0807ce2a522d905894817f7f14f653f928c218c96c078f0822d9abef5fb941d3e7163a1cadaa7d74f1bd09bbf60345a7ac0fe906667af5a0490906  xeyes-1.3.0.tar.xz
"
